package com.vlobakov.homework4.FileAnalizer;

import java.util.HashMap;
import java.util.Map;

public class Test {

	/**
	 * @param args
	 * @throws Exception
	 */
	public static void main(String[] args) throws Exception {

		String inputFileName = args[0];

		ReadDataFromTxt readData = new ReadDataFromTxt();
		readData.setFilePath(inputFileName);
		readData.read();

		ConsoleOutput consoleOutput = new ConsoleOutput();
		Map<String, IOutput> outPutSources = new HashMap<String, IOutput>();
		consoleOutput.print(readData.buildString());

		// String resultToPrint = readData.buildString();
	}

}
